package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.ToString;

/**
 * @author jiangjr
 * @tablename  sec_answer
 */
@TableName(value ="sec_answer")
@Data
@ToString
public class SecAnswer implements Serializable {
    /**
     * 问题编号
     */
    @TableId(type = IdType.AUTO)
    private Long answerId;

    /**
     * 问题内容
     */
    private String answer;

    /**
     * 排序编号
     */
    private Integer sortId;

    /**
     * 是否正确
     */
    private Integer isRight;

    /**
     * 问题编号
     */
    private Long problemId;

    /**
     * 当前答案分值
     */
    private int score;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
